<template>
  <div class="test">
    <h1>Count  {{count}}</h1>
  </div>
</template>
<script>
export default {
  name: 'test',
  data (){
    return {
      count:0
    }
  },
  mounted (){
    setInterval(()=>{
      this.count++
    },1000)
  }
}
</script>